<template>
    <div>
        <section class="part">
            <span class="tit">事件</span>
            <el-table :data="tableData" border>
                <el-table-column v-for="(item, index) in tableCols" :key="index" :prop='item.prop' :label="item.label"></el-table-column>
                
            </el-table>
        </section>
    </div>
</template>
<script>
export default {
    name: 'events',
    data() {
        return {
            tableCols: [
                {label : '标题', prop:'name'}, {label : '出处', prop:'user'}, {label : '分类', prop:'type'}, {label : '发布时间', prop:'date'}
            ],
            tableData: []
        }
    },
    methods: {
    }
}
</script>
<style lang="scss">
.del {
    color: #409eff
}
.preview {color: #E64545}
</style>
